dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c525c44
)
We're stating CommandLineMode is true, but Exception.php won't know what STDERR is.
author
Greg Sabino Mullane
<greg@users.mediawiki.org>
Sun, 10 Feb 2008 13:33:36 +0000
(13:33 +0000)
committer
Greg Sabino Mullane
<greg@users.mediawiki.org>
Sun, 10 Feb 2008 13:33:36 +0000
(13:33 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
292fd85
..
9a9000d
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-753,6
+753,8
@@
if( $conf->posted && ( 0 == count( $errs ) ) ) {
$wgDBts2schema = $conf->DBts2schema;
$wgCommandLineMode = true;
+ if (! defined ( 'STDERR' ) )
+ define( STDERR, fopen("php://stderr", "wb"));
$wgUseDatabaseMessages = false; /* FIXME: For database failure */
require_once( "$IP/includes/Setup.php" );
chdir( "config" );